package com.aizuda.boot.modules.business.counterparty.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("bank_info")
@Schema(description = "银行信息表")
public class BankInfoEntity {

    @TableId(type = IdType.AUTO)
    @Schema(description = "主键ID")
    private Integer id;

    @Schema(description = "银行编号")
    private String bankCode;

    @Schema(description = "银行国家代码")
    private String bankCountry;

    @Schema(description = "银行名称")
    private String bankName;

    @Schema(description = "账户名")
    private String accountName;

    @Schema(description = "账号")
    private String accountNumber;

    @Schema(description = "银行内部ID")
    private String bankInternalId;

    @Schema(description = "币种")
    private String currency;

    @Schema(description = "总账科目")
    private String generalLedgerAccount;

    @Schema(description = "清算科目")
    private String clearingAccount;

    @Schema(description = "账户属性描述")
    private String accountAttributeDesc;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
} 